package com.shudingke.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shudingke.domain.Collections;
import com.shudingke.domain.Products;
import com.shudingke.mapper.CollectionsMapper;
import com.shudingke.service.ICollectionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CollectionsServiceImpl 
        extends ServiceImpl<CollectionsMapper, Collections> 
        implements ICollectionsService {
    @Autowired
    CollectionsMapper mapper;
    @Override
    public List<Products> findAll(int uid,String searchName) {
        return mapper.findAll(uid,searchName);
    }
}
